FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI += "\
            file://PS23_Baseboard.json \
            file://PS23_Chassis.json \
            file://blacklist.json \
            file://whiteListBin.json \
            file://bin \
            "

do_install:append() {
    EMPATH=/usr/share/entity-manager/configurations

    install -d ${D}${EMPATH}
    install -m 0444  ${WORKDIR}/*_*.json ${D}${EMPATH}

    install -d ${D}/etc/fru
    install -m 0644 ${WORKDIR}/bin/*.bin ${D}/etc/fru

    install -d ${D}${datadir}/${PN}
    install -m 0644 ${WORKDIR}/blacklist.json ${D}${datadir}/${PN}
    install -m 0644 ${WORKDIR}/whiteListBin.json ${D}${datadir}/${PN}
}

FILES:${PN} += "/etc/fru"
